<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- <#include "/public_include/easyui-allresource.html"> -->
	<link rel="stylesheet" type="text/css" href="http://www.java1234.com/jquery-easyui-1.3.3/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="http://www.java1234.com/jquery-easyui-1.3.3/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="http://www.java1234.com/jquery-easyui-1.3.3/demo/demo.css">
	<script type="text/javascript" src="http://www.java1234.com/jquery-easyui-1.3.3/jquery.min.js"></script>
	<script type="text/javascript" src="http://www.java1234.com/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="http://www.java1234.com/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>
</head>
<body>
	<!--总容器 -->
	<div class="container bs-docs-container" style="width: 100%;">
		<div class="row">
			<div class="panel panel-success">
				<div class="panel-heading">添加分类</div>
				<div class="container-fluid">
					<form class="navbar-form navbar-left" role="search"
						action="<@url url='/cat/save'/>" method="post">
						<table>
							<tr>
								<td>分类名称:
								</td>
								<td><input type="text" name="cat_name"
									class="form-control easyui-validatebox" required
									placeholder="分类名称" /></td>
							</tr>
							<tr>
								<td>分类名称:</td>
								<td><select name="parent_id">
										<option value="0">顶级</option>
										<#list cats as cat>
										<option value="${cat.cat_id}">${cat.cat_name}</option>
										</#list>
								</select>
								</td>
							</tr>
							<tr>
								<td>排序:</td>
								<td><input name="cat_order" /></td>
							</tr>
							<tr>
								<td>操作:</td>
								<td><button type="submit" class="btn btn-info">提交</button></td>
							</tr>
						</table>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>